home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-04 / glovdriv.zip / POWERGLV.DOC < prev    next >
Text File  |  1992-08-02  |  3KB  |  75 lines

  1. ___________________________________________________________________________
  2.                 Power Glove Interface for Parallel Port on IBM
  3. ___________________________________________________________________________
  4.  
  5. Nintendo connector layout:   *1      1:Ground           2:Clock
  6.                          7*  *2      3:Latch            4:Data
  7.                          6*  *3      5:N/C (lightgun)   6:N/C (lightgun)
  8.                          5*  *4      7:+5V
  9.  
  10. Connecting to Parallel Port
  11.  
  12.                 Glove        Printer Port
  13.                 1            18 GND
  14.                 2            2 DO
  15.                 3            3 D1
  16.                 4            13 SLCT (input)
  17.  
  18. ___________________________________________________________________________
  19.                              POWER
  20. ___________________________________________________________________________
  21.      Connect pin 7 on the glove to any location with +5V on the computer.
  22.      Pin 1 on any gameport is a good place.  You can also use the keyboard
  23.      connector.  On an XT pinout, the +5V connector is pin 5 as follows:
  24.                         Looking at the back of the computer:
  25.                                 3    1
  26.                                 5    4
  27.                                   2
  28.             Be sure to check the voltage for any other configuration!
  29.  
  30.  
  31. ___________________________________________________________________________
  32.                              The CABLE
  33. ___________________________________________________________________________
  34. You can buy Nintendo extender cable to cut up for the connector... Get the 
  35. longest possible for easy location of the control box...
  36.  
  37.  
  38.  
  39. ___________________________________________________________________________
  40.                              The CODE
  41. ___________________________________________________________________________
  42. If you don't get steady sampling on the glove, try adjusting the timing on 
  43. your machine by changing the N & D defines...
  44.  
  45. The Code is currently set for LPT2. (Inport=0x279, Outport=0x278).  For 
  46. LPT1, change Inport to 0x379 and Outport to 0x378...
  47.  
  48. The code is written for Turbo C/C++/Borland C++.  It uses the BGI library 
  49. for the graphics cursor, so it is easily ported to Microsoft C.
  50.  
  51. The code is named THEGLOVE.C
  52.  
  53. ___________________________________________________________________________
  54.                               NOTES
  55. ___________________________________________________________________________
  56. This is reprinted from Waite Group's "Virtual Reality Playhouse", but they
  57. swiped it from the VR boys on USENET so I don't feel bad about porting it.
  58. Please distriute this freely...
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65. ___________________________________________________________________________
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.